package org.dce.screencapturer.actions.objects;

import java.awt.Font;

import org.dce.screencapturer.util.IconFactory;

@SuppressWarnings("serial")
public class IncreaseFontSizeAction 
	extends FontAction {


	public IncreaseFontSizeAction() {
		super("actions.increaseFontSize", IconFactory.getIcon("/images/format-text-increase-size.png"));
	}

	@Override
	protected Font modifyFont(Font font) {
		return font.deriveFont(font.getStyle(), font.getSize2D()+1);
	}

}
